<template>
  <NConfigProvider :theme="themeStore.themeModel? darkTheme: null">
    <Layout />
  </NConfigProvider>
</template>

<script setup lang="ts">
import { darkTheme } from 'naive-ui'
import { useThemeStore } from './store/modules/theme'
import Layout from '@/layout/index.vue'
const themeStore = useThemeStore()
</script>

<style scoped></style>
